package cn.wolfcode.wolf2w.controller;

import cn.wolfcode.wolf2w.util.JsonResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Arrays;

@RestController
public class TestController {

    //防刷测试
    @GetMapping("/test1")
    public Object test1() {
        return JsonResult.success("进来了...........");
    }

    //防篡改测试
    @GetMapping("/test2")
    public Object test2(String aa, String bb, String cc, String sign) {
        return JsonResult.success("进来了..........." + Arrays.asList(aa,bb,cc,sign));
    }
}
